<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>菜鸟教程(runoob.com)</title>
</head>
<head>
    <script>
        function newDoc(){
//            file:///D:/gitStorage/html/JavaScriptPractice/output.html
            window.location.assign("/gitStorage/html/JavaScriptPractice/output.html")
        }
    </script>
</head>
<body>

<input type="button" value="加载新文档" onclick="newDoc()">

</body>
</html>